package StudentManage;

import java.util.ArrayList;
import java.util.Scanner;

public class grades {
	public void main(String [] args) {
		
	}
	public void  g() {
		while(true) {
		ArrayList arr = new ArrayList();
		System.out.println("请选择想查看的内容");
		System.out.println("1.个人信息");
		System.out.println("2.个人成绩");
		System.out.println("3.退出");
		Scanner sg = new Scanner(System.in);
		String grade = sg.nextLine();
		 switch (grade) {
		 case"1":
				ownermassage(arr);
				break;
			case"2":
				ownergrade();
				break;
			case "3":
		default:
			System.out.println("谢谢你的使用");
			System.exit(0);
			break;
		}
		}
	}
	private void ownergrade() {
		// TODO Auto-generated method stub
		System.out.println("这是你的成绩");
		System.out.println("零分");
	}
	private void ownermassage(ArrayList arr) {
		// TODO Auto-generated method stub
		System.out.println("0分");
	}
	


		
	}

